Pro Spark Streaming by Zubair Nabi

Pro Spark Streaming by Zubair Nabi

Author:Zubair Nabi
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


Static connection

A single connection per JVM is maintained.

The connection is established regardless of whether it is used.

Lazy static connection

A connection is established only the first time the client object is used.

Thread-safety leads to resource contention turning the connection into a bottleneck.

Static connection pool

A pool of static connections is used throughout.

Now that you have had a deep dive into foreachRDD operations, the next section looks at emitting data to two popular NoSQL stores: HBase and Cassandra.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.